<?php
$strTableName="packing_lists_report";
$_SESSION["OwnerID"] = $_SESSION["_".$strTableName."_OwnerID"];

$strOriginalTableName="packing_lists";

$gstrOrderBy="";
if(strlen($gstrOrderBy) && strtolower(substr($gstrOrderBy,0,8))!="order by")
	$gstrOrderBy="order by ".$gstrOrderBy;

$g_orderindexes=array();
$gsqlHead="SELECT id,   place,   shipment_date,   buyer_id,   name,   order_no,   consignee_id,   shipment_pack_details,   marks,   ref_id";
$gsqlFrom="FROM packing_lists";
$gsqlWhereExpr="";
$gsqlTail="";

include(getabspath("include/packing_lists_report_settings.php"));

// alias for 'SQLQuery' object
$gQuery = &$queryData_packing_lists_report;
$eventObj = &$tableEvents["packing_lists_report"];

$reportCaseSensitiveGroupFields = false;

$gstrSQL = gSQLWhere("");


?>